<%@page contentType="text/html" pageEncoding="UTF-8"%>

<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@taglib prefix="rich" uri="http://richfaces.org/rich"%>
<%@taglib prefix="a4j" uri="http://richfaces.org/a4j"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<f:view>
    <html>
        <head>
            <title>Heladeros Lamborgini</title>
            <link type="text/css" href="style/default.css" rel="stylesheet" media="screen"/>
        </head>
        <body>
            <rich:panel header="Ingreso al Sistema" style="width: 50%;">
                <h:form>
                    <table>
                        <tr>
                            <td class="td-label">Usuario</td>
                            <td><h:inputText value="#{managerUsuario.nombre_usuario}" /></td>
                        </tr>
                        <tr>
                            <td class="td-label">Contrase&ntilde;a</td>
                            <td><h:inputSecret value="#{managerUsuario.contrasenha}" /></td>
                        </tr>
                        <tr>
                            <td colspan="2">
                                <h:commandButton value="Ingresar" action="#{managerUsuario.ingresar}" />
                            </td>
                        </tr>
                    </table>
                </h:form>
            </rich:panel>
        </body>
    </html>
</f:view>
